package cn.axj.crypt.annotation;

import cn.axj.crypt.constant.AlgorithmConstant;

import java.lang.annotation.*;

/**
 * @author aoxiaojun
 * @date 2020/12/15 17:14
 **/
@Target({ElementType.METHOD,ElementType.TYPE})
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface Encryption {
    String bind() default AlgorithmConstant.RSA;
    String fieldName() default "";
}
